#include "InCommentCPP.h"

InCommentCPP::InCommentCPP(Scope* pParentScope)
{
    m_eType=Scope::eScopeCommentCPP;
    m_pxParent = pParentScope;
}

InCommentCPP::~InCommentCPP(void)
{
}

Scope* InCommentCPP::process(Token& inToken, bool &bIsEndOfScope)
{
    char cDelimiter = char(inToken);

    if(inToken.m_bIsDelimiter)
    {
        if('\n'== cDelimiter)
        {
            bIsEndOfScope=true;
        }
    }
    m_asWorkspace.push_back(inToken.m_sValue);
    return NULL;
}